export interface AccountParams {

    adminName?: string,
    name?: string,
    page?: number,
    pageSize?: number
}



////////////////////
export interface Account {
	id: number;
	companyId: number;
	level: number;
	staffId: number;
	name: string;
	pwd: string;
	newPwd?: string;
	type: number;
	enable: number;
	photo: string;
	mobile: string;
	username: string;
	roleIds?: string;
	outLogs?: string;
	verifyCode?: string;
	verifyCodeId?: string;
	openId?: string;
}

export interface AccountList {
	counts: number;
	pageSize: number;
	list: Array<Account>;
}
//////////////////////////////////////
export interface AccountAdd {
    username: string;
    pwd: string;
    name: string;
    enable: number;
    photo: string;
    mobile: string;
    roleIds: number[];
}

////////////////////////////////
// 登录信息返回
export interface UserInfoData {
	id: number;
	companyId: number;
	level: number;
	staffId: number;
	name: string;
	pwd?: any;
	newPwd?: any;
	type: number;
	enable: number;
	photo: string;
	mobile: string;
	username: string;
	roleIds?: any;
	outLogs?: any;
	verifyCode?: any;
	verifyCodeId?: any;
	openId?: any;
}

// 账号添加信息
export interface RootObject {
    username: string;
    pwd: string;
    name: string;
    enable: number;
    photo: string;
    mobile: string;
    roleIds: number[];
}